﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using XCore.Domain.Entities;

namespace SaaS.Model.Entity.Blogs
{
    [Table("Blog_ArticleMessages")]
    public class ArticleMessage : Entity<int>, IHasCreationTime, IHasCreateionIpAddress
    {
        /// <summary>
        /// 文章Id
        /// </summary>
        public int ArticleId { get; set; }
        /// <summary>
        /// 对应回复ID
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 是否可见
        /// </summary>
        public bool IsVisible { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        public string IP { get; set; }
        public int? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
    }
}
